<html>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<f:view>
	<head>
	<title><h:outputText value="#{msgs.titleIndex}" /></title>
	<link rel="shortcut icon" href="favicon.ico" />
	
	</head>
	<body>
	<h1><h:outputText value="#{msgs.titleIndex}" /></h1>
	<h:form>
		<h:outputLabel for="q" value="#{msgs.labelSearch}" />
		<h:inputText id="q" value="#{searchQueryBean.query}" />
		<h:commandButton value="#{msgs.buttonGoSearch}" action="search" />
		<h:commandLink action="hosts" value="#{msgs.linkHosts}" />
	</h:form>
	<address>
	<h:outputFormat value="#{msgs.formatVersion}">
		<f:param value="#{versionBean.version}" />
	</h:outputFormat>
	<br />
	<h:outputFormat value="#{msgs.formatCopyright}">
		<f:param value="#{versionBean.yearBegin}" />
		<f:param value="#{versionBean.yearEnd}" />
	</h:outputFormat>
	</address>
	</body>
</f:view>
</html>